package hhm.framessm.pojo;

import java.util.Date;
import java.util.Set;

import javax.management.relation.Role;

public class TbUser {
	private Integer userId;

	private String userName;

	private String userPwd;

	private String userPhonenum;

	private String userEmail;

	private Date userRegdate;

	private Set<TbRole> roles;

	public Set<TbRole> getRoles() {
		return roles;
	}

	public void setRoles(Set<TbRole> roles) {
		this.roles = roles;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd == null ? null : userPwd.trim();
	}

	public String getUserPhonenum() {
		return userPhonenum;
	}

	public void setUserPhonenum(String userPhonenum) {
		this.userPhonenum = userPhonenum == null ? null : userPhonenum.trim();
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail == null ? null : userEmail.trim();
	}

	public Date getUserRegdate() {
		return userRegdate;
	}

	public void setUserRegdate(Date userRegdate) {
		this.userRegdate = userRegdate;
	}
}